package com.cskaoyan.gateway.form.shopping;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.mall.order.dto.CartProductDto;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author:
 * @description:
 * @keypoint:
 * @tags:
 * @related:
 */

@NoArgsConstructor
@Data
public class OrderForm {

    @JsonProperty("tel")
    private String tel;
    @JsonProperty("userName")
    private String userName;
    @JsonProperty("streetName")
    private String streetName;
    @JsonProperty("cartProductDtoList")
    private List<CartProductDto> cartProductDtoList;
    @JsonProperty("addressId")
    private Long addressId;
    @JsonProperty("orderTotal")
    private BigDecimal orderTotal;

}
